package main

import (
	"fmt"
	"net/http"
	"nginx_go/nginx"
)

func main() {
	engine := new(nginx.Index).InitStartupParameters()
	err := http.ListenAndServe(fmt.Sprintf("%s%d", ":", engine.Port), engine)
	fmt.Println(err)
}
